DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1DataCollection<T> Class / SortAsync Method / SortAsync(SortDescription[],CancellationToken) Method
The sort descriptions that determine how the data will be sort.
The cancellation token.

In This Topic
    SortAsync(SortDescription[],CancellationToken) Method
    In This Topic
    Sorts the collection according to the specified sort descriptions.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function SortAsync( _
       ByVal sortDescriptions() As SortDescription, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task
    public virtual Task SortAsync( 
       SortDescription[] sortDescriptions,
       CancellationToken cancellationToken
    )

    Parameters

    sortDescriptions
    The sort descriptions that determine how the data will be sort.
    cancellationToken
    The cancellation token.
    See Also